package com.example.sprinbootdemo.mapper;

import com.example.sprinbootdemo.entity.Owner;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper
public interface OwnerMapper {
    List<Owner> selectAll();
    void deleteOwnerById(int ownerId);
    void updateOwnerById(Owner owner);
    List<Owner> getOwnerByName(String name);
    void addOwner(Owner owner);
}
